package com.fly.bean;

public class Resources {
    //资源Id
    private Integer resourcesId;
    //资源名
    private String resourcesName;
    //资源类型 1为一级导航栏 2 为二级导航栏 3为子资源
    private Integer resourcesType;
    //显示顺序分为一级导航栏排序和二级导航栏排序  数字越小越靠前 子资源无需排序
    private Integer priority;
    //父编号列表 所属父级编号如一级导航栏编号为1其下的二级导航栏编号都为1
    private Integer parentId;
    //权限字符串 即url名字 包名也加上
    private String permission;
    //是否启用 1为启用 0为不启用 启用的资源并且具有权限才能访问
//    private SystemProperties systemProperties; //所属系统配置的sysProId
    //是否启用 1为启用 0为不启用 启用的资源并且具有权限才能访问
    private SystemPropertiesValue systemPropertiesValue;//所属系统配置的id

    public Integer getResourcesId() {
        return resourcesId;
    }

    public void setResourcesId(Integer resourcesId) {
        this.resourcesId = resourcesId;
    }

    public String getResourcesName() {
        return resourcesName;
    }

    public void setResourcesName(String resourcesName) {
        this.resourcesName = resourcesName;
    }

    public Integer getResourcesType() {
        return resourcesType;
    }

    public void setResourcesType(Integer resourcesType) {
        this.resourcesType = resourcesType;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

//    public SystemProperties getSystemProperties() {
//        return systemProperties;
//    }
//
//    public void setSystemProperties(SystemProperties systemProperties) {
//        this.systemProperties = systemProperties;
//    }

    public SystemPropertiesValue getSystemPropertiesValue() {
        return systemPropertiesValue;
    }

    public void setSystemPropertiesValue(SystemPropertiesValue systemPropertiesValue) {
        this.systemPropertiesValue = systemPropertiesValue;
    }
}
